
pkgname=linux-atm
pkgver=2.5.2
pkgrel=4
pkgdesc="Drivers and tools to support ATM networking under Linux."
arch=('x86_64')
url="http://linux-atm.sourceforge.net/"
license=('GPL')
depends=('glibc')
options=('!libtool' '!makeflags')
source=("http://downloads.sourceforge.net/sourceforge/linux-atm/$pkgname-$pkgver.tar.gz")
md5sums=('d49499368c3cf15f73a05d9bce8824a8')

build() {
  cd $pkgname-$pkgver 
  sed -i "s|/lib/firmware|/usr/lib/firmware|" src/extra/Makefile.in
  
  ./configure --prefix=/usr --sysconfdir=/etc 
  make 
}

package() {
  cd $pkgname-$pkgver
  
  make DESTDIR=$pkgdir install
}

